package com.cn.Mapper;

import com.cn.Domain.CheckGroup;
import com.cn.Domain.CheckGroupExample;
import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

public interface CheckGroupMapper {
    long countByExample(CheckGroupExample example);

    int deleteByExample(CheckGroupExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CheckGroup record);

    int insertSelective(CheckGroup record);

    List<CheckGroup> selectByExample(CheckGroupExample example);

    CheckGroup selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CheckGroup record, @Param("example") CheckGroupExample example);

    int updateByExample(@Param("record") CheckGroup record, @Param("example") CheckGroupExample example);

    int updateByPrimaryKeySelective(CheckGroup record);

    int updateByPrimaryKey(CheckGroup record);

    void setCheckGroupAndCheckItem(Map map);

    void add(CheckGroup checkGroup);

    public Page<CheckGroup> selectByCondition(String queryString);

    public List<CheckGroup> selectAll();
}
